package object;

import java.util.Date;
import java.util.logging.Logger;

/**
 *
 * @author SonTT
 */
public class ProductDetail extends Product {

    private String producerName;
    private String categoryName;
    private String imagePath;

    public ProductDetail() {
    }

    public ProductDetail(
            int productID,
            String productName,
            String producerName,
            String categoryName,
            String imagePath,
            String description,
            float price,
            int quantity,
            boolean activated,
            boolean deleted,
            Date modifiedDate) {
        super(
                productID,
                productName,
                description,
                price,
                quantity,
                activated,
                deleted,
                modifiedDate);
        this.producerName = producerName;
        this.categoryName = categoryName;
        this.imagePath = imagePath;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getProducerName() {
        return producerName;
    }

    public void setProducerName(String producerName) {
        this.producerName = producerName;
    }
    private static final Logger LOG = Logger.getLogger(ProductDetail.class.getName());
}
